<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<title>信息提示</title>
<link rel="stylesheet" href="/skin/weui/weui.min.css"/>
<style>
body, html { height: 100%; }
body { font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif; }
ul { list-style: outside none none; }
.page, body { background-color: #f8f8f8; }
.link { color: #1aad19; }
.page__hd { padding: 40px; }
.page__title { font-size: 20px; font-weight: 400; text-align: center; }
.page__desc { color: #888; font-size: 14px; margin-top: 5px; text-align: center; }
.page__logo { text-align: center; }
.weui-footer { margin: 20px 0;}
</style>
</head>
<body>
<div class="container">
	<div class="page msg_warn js_show">
		<div class="weui-msg">
			<?php
			if($icon==1)//成功
			{
				echo '<div class="weui-msg__icon-area"><i class="weui-icon-success weui-icon_msg"></i></div>';
			}
			else//失败
			{
				echo '<div class="weui-msg__icon-area"><i class="weui-icon-warn weui-icon_msg"></i></div>';
			}
			?>
			<div class="weui-msg__text-area">
				<?php
				if($title) { echo '<h2 class="weui-msg__title">'.$title.'</h2>'; }
				if($desc) { echo '<p class="weui-msg__desc">'.$desc.'</p>'; }
				?>
			</div>			
			
			<div class="weui-msg__opr-area">
				<p class="weui-btn-area">
					<?php
					if($btnText)
					{
						if(!$btnUrl) { $btnUrl='javascript:history.back();'; }
						echo '<a href="'.$btnUrl.'" class="weui-btn weui-btn_primary">'.$btnText.'</a>';
					}
					?>
					<!-- a href="javascript:history.back();" class="weui-btn weui-btn_default">辅助操作</a -->
				</p>
			</div>			
			<div class="weui-msg__extra-area">
				<div class="weui-footer">
					<p class="weui-footer__links">
						<a href="javascript:void(0);" class="weui-footer__link">欢迎使用</a>
					</p>
					<p class="weui-footer__text">Copyright &copy; 2008-2017 QQ:910111100</p>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>